package com.nbst.model.mes;

/**   
 * @ClassName:  TCodeManager   
 * @Description:t_code_manager表的model层  
 * @author: HuXinshuai
 * @date:   2018年10月30日 下午3:15:53     
 * @Copyright: 宁波沙塔. All rights reserved. 
 */
public class TCodeManager {
    /** 主键 */
    private Integer id;
    /** 前缀 */
    private String prefix;
    /** 年类型1   如2018     */
    private String yearvar1;
    /** 年类型2   如 18       年类型最多只能二选一 */
    private String yearvar2;
    /** 月 */
    private String monthvar;
    /** 日 */
    private String dayvar;
    /** 数字 */
    private Integer number;
    /** 步长 */
    private Integer step;
    /** 后缀 */
    private String suffix;
    /** 关闭标志 */
    private String fClosed;
    /** 模块 */
    private String fModular;
    /** 数字长度 */
    private Integer fNumSize;
    /** 最后一次生成的编码 */
    private String fLastCode;
    /** 备注 */
    private String fRemark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix == null ? null : prefix.trim();
    }

    public String getYearvar1() {
        return yearvar1;
    }

    public void setYearvar1(String yearvar1) {
        this.yearvar1 = yearvar1 == null ? null : yearvar1.trim();
    }

    public String getYearvar2() {
        return yearvar2;
    }

    public void setYearvar2(String yearvar2) {
        this.yearvar2 = yearvar2 == null ? null : yearvar2.trim();
    }

    public String getMonthvar() {
        return monthvar;
    }

    public void setMonthvar(String monthvar) {
        this.monthvar = monthvar == null ? null : monthvar.trim();
    }

    public String getDayvar() {
        return dayvar;
    }

    public void setDayvar(String dayvar) {
        this.dayvar = dayvar == null ? null : dayvar.trim();
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getStep() {
        return step;
    }

    public void setStep(Integer step) {
        this.step = step;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix == null ? null : suffix.trim();
    }

    public String getfClosed() {
        return fClosed;
    }

    public void setfClosed(String fClosed) {
        this.fClosed = fClosed == null ? null : fClosed.trim();
    }

    public String getfModular() {
        return fModular;
    }

    public void setfModular(String fModular) {
        this.fModular = fModular == null ? null : fModular.trim();
    }

    public Integer getfNumSize() {
        return fNumSize;
    }

    public void setfNumSize(Integer fNumSize) {
        this.fNumSize = fNumSize;
    }

    public String getfLastCode() {
        return fLastCode;
    }

    public void setfLastCode(String fLastCode) {
        this.fLastCode = fLastCode == null ? null : fLastCode.trim();
    }

    public String getfRemark() {
        return fRemark;
    }

    public void setfRemark(String fRemark) {
        this.fRemark = fRemark == null ? null : fRemark.trim();
    }

	@Override
	public String toString() {
		return "TCodeManager [id=" + id + ", prefix=" + prefix + ", yearvar1=" + yearvar1 + ", yearvar2=" + yearvar2
				+ ", monthvar=" + monthvar + ", dayvar=" + dayvar + ", number=" + number + ", step=" + step
				+ ", suffix=" + suffix + ", fClosed=" + fClosed + ", fModular=" + fModular + ", fNumSize=" + fNumSize
				+ ", fLastCode=" + fLastCode + ", fRemark=" + fRemark + "]";
	}
}